<div id="editProductGroupModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">
          <vc:i18n name="修改" namespace="editProductGroup"></vc:i18n>
        </h3>
        <div class="ibox-content">

          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='商品简介' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <textarea v-model="editProductGroupInfo.prodDesc" :placeholder="vc.i18n('必填，请填写商品简介','editProductGroup')"
                class="form-control"></textarea>
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='拼团人数' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <input v-model="editProductGroupInfo.userCount" type="number"
                :placeholder="vc.i18n('必填，请填写拼团人数','editProductGroup')" class="form-control">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='拼团金额' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <input v-model="editProductGroupInfo.groupPrice" type="text"
                :placeholder="vc.i18n('必填，请填写拼团金额','editProductGroup')" class="form-control">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='状态' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <select class="custom-select" v-model="editProductGroupInfo.state">
                <option selected disabled value="">{{vc.i18n('必填，请选择状态' ,'editProductGroup')}}</option>
                <option value="1001">{{vc.i18n('启用' ,'editProductGroup')}} </option>
                <option value="2002">{{vc.i18n('停用' ,'editProductGroup')}} </option>
              </select>
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='开始时间' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <input v-model="editProductGroupInfo.startTime" type="text"
                :placeholder="vc.i18n('必填，请填写开始时间','editProductGroup')" class="form-control editProductGroupStartTime">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='结束时间' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <input v-model="editProductGroupInfo.endTime" type="text"
                :placeholder="vc.i18n('必填，请填写结束时间','editProductGroup')" class="form-control editProductGroupEndTime">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='是否返佣' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <select class="custom-select" v-model="editProductGroupInfo.rebateFlag">
                <option selected disabled value="">{{vc.i18n('必填，请选择是否返佣','editProductGroup')}}</option>
                <option value="Y">{{vc.i18n('是','editProductGroup')}}</option>
                <option value="N">{{vc.i18n('否','editProductGroup')}}</option>
              </select>
            </div>
          </div>
          <div class="form-group row" v-if="editProductGroupInfo.rebateFlag == 'Y'">
            <label class="col-sm-2 col-form-label">
              <vc:i18n name='团长返佣' namespace='editProductGroup'></vc:i18n>
            </label>

            <label class="col-sm-2 col-form-label">
              <vc:i18n name='商用价的' namespace='editProductGroup'></vc:i18n>
            </label>
            <div class="col-sm-2">
              <input v-model="editProductGroupInfo.rebate" type="number" :placeholder="vc.i18n('几','editProductGroup')"
                class="form-control">
            </div>
            <label class="col-sm-2 col-form-label">%返佣</label>

          </div>

          <div class="ibox-content">
            <button class="btn btn-primary float-right" type="button" v-on:click="editProductGroup()">
              <vc:i18n name="保存"></vc:i18n>
            </button>
            <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal">
              <vc:i18n name="取消"></vc:i18n>
            </button>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>